# --------------------------------
# -*- coding: utf-8 -*-
# Author: Zhu
# Date: 2021/12/16   
# Description:
# --------------------------------

from selenium.webdriver.common.by import By

class ele_USUALLY_LOC:

    u'全局通用的一些元素'

    # 【返回管理端】按钮
    ys_Return_Management = By.XPATH , "/html/body/div[1]/div/div[2]/div[1]/div/div[3]/div[1]/div[1]/i"

    # 【菜单】列表按钮
    ys_Menu_list = By.CSS_SELECTOR , "#app > div > div.main-container > div:nth-child(1) > div > div.hamburger-container"

    # 作业端-【基础资料】按钮
    ys_JiChu_list = By.XPATH , "/html/body/div[1]/div/div[1]/div[2]/div[1]/div/ul/div[3]/li/div"

    # 作业端-基础资料-【货主管理】
    # ys_Shipper_Management = By.XPATH,  "/html/body/div/div/div[1]/div[2]/div[1]/div/ul/div[3]/li/ul/div[1]/li/div/span"
    ys_Shipper_Management = By.XPATH,  "//span[contains(text(),'货主管理')]"

    #作业端-基础资料-【商品管理】
    ys_Goods_Management = By.XPATH,  "/html/body/div/div/div[1]/div[2]/div[1]/div/ul/div[3]/li/ul/div[2]/li/div/span"

    # 作业端-【订单管理】
    ys_Orde_Management = By.XPATH , "/html/body/div/div/div[1]/div[2]/div[1]/div/ul/div[4]/li/div"

    # 作业端-【入库管理】
    ys_PutIn_Management = By.XPATH , "/html/body/div[1]/div/div[1]/div[2]/div[1]/div/ul/div[5]/li/div/span"

    # 作业端-【TOB出库管理】
    ys_TOB_Export_Management = By.XPATH , "/html/body/div[1]/div/div[1]/div[2]/div[1]/div/ul/div[7]/li/div"


